package com.humble.vichatbackend.config.datasource;

import org.springframework.data.domain.Page;
import com.humble.vichatbackend.common.SearchRequest;
import com.humble.vichatbackend.model.elastic.domain.SearchBean;

public interface DataSource<T extends SearchBean> {
    public Page<T> doSearch(SearchRequest searchRequest);
}
